﻿Ext.define("entgpv11.store.Filter", {
    extend: "Ext.data.Store",
    requires: [
        'Ext.data.proxy.LocalStorage'
		
    ],
    config: {
        model: "entgpv11.model.Filter",
        proxy: {
				type:"ajax",
				url: Ext.APP_GLOBAL.getServiceUrl() + "GetFilter",
				scriptTag: true,
                actionMethods:
				{
					read: 'POST'
				},
				extraParams:{
							iCriterio:"0",	
							idImpresa:"0"
				},
                reader: {
				  type: 'json',
				  rootProperty:'filter'
			    }
		}
		,autoLoad: false
		//,sorters: [{ property: 'Key', direction: 'DESC'}]
        
    }
});
